package main

import (
	"github.com/EndlessCheng/codeforces-go/main/testutil"
	"testing"
)

// https://codeforces.com/problemset/problem/1261/C
// https://codeforces.com/problemset/status/1261/problem/C
func TestCF1261C(t *testing.T) {
	// just copy from website
	rawText := `
inputCopy
3 6
XXXXXX
XXXXXX
XXXXXX
outputCopy
1
......
.X.XX.
......
inputCopy
10 10
.XXXXXX...
.XXXXXX...
.XXXXXX...
.XXXXXX...
.XXXXXXXX.
...XXXXXX.
...XXXXXX.
...XXXXXX.
...XXXXXX.
..........
outputCopy
2
..........
..........
...XX.....
..........
..........
..........
.....XX...
..........
..........
..........
inputCopy
4 5
X....
..XXX
..XXX
..XXX
outputCopy
0
X....
..XXX
..XXX
..XXX`
	testutil.AssertEqualCase(t, rawText, 0, CF1261C)
}
